﻿using Entity.Models.BaseEntitys;
using RepositorySys.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

#nullable disable

namespace Entity.Models.Entities
{
    /// <summary>
    /// 部门实体类
    /// </summary>
    public partial class DepartmentInfo: BaseEntityTime
    {

        /// <summary>
        /// 描述
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string Description { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        [Column(TypeName = "varchar(16)")]
        public string DepartmentName { get; set; }

        /// <summary>
        /// 主管id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string LeaderId { get; set; }

        /// <summary>
        /// 父部门id
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string ParentId { get; set; }

   

        public DepartmentInfo()
        {
        }
    }
}
